package com.lizhi.yun.db.stand.dao;/**
 * @program: sfrobot-html
 * @name SerialManageDao
 * @description:
 * @author: lizhi
 * @create: 2020-04-23 17:27
 */

import com.lizhi.yun.db.stand.pojo.SerialManagePOJO;
import com.lizhi.mybatis.interceptor.PageBounds;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *@program: sfrobot-html
 *@name SerialManageDao
 *@description:
 *@author: lizhi
 *@create: 2020-04-23 17:27
 */
@Mapper
public interface SerialManageDao {

    public int insertRecord(SerialManagePOJO record);//添加一条完整记录

    public int deleteById(String code, String hospitalId, String hospitalSystemId);//通过Id(主键)删除一条记录

    public int updateByIdSelective(SerialManagePOJO record);//按Id(主键)修改指定列的值

    public SerialManagePOJO selectById(String code, String hospitalId, String hospitalSystemId);//通过Id(主键)查询一条记录

    public List<SerialManagePOJO> selectAll(SerialManagePOJO record, PageBounds pageBounds);//根据条件查询

    public List<SerialManagePOJO> selectByMap(Map<String, Object> paramMap, PageBounds pageBounds);//根据条件查询
}
